/*
 * Created by JFormDesigner on Wed Jun 26 15:11:32 GMT+08:00 2024
 */

package scct.caojintao.ui;

import java.awt.*;
import javax.swing.*;

/**
 * @author 曹锦涛
 */
public class FormMain extends JFrame {
    public FormMain() {
        initComponents();
    }

    private void initComponents() {
        // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents  @formatter:off
        // Generated using JFormDesigner Evaluation license - caojintao
        menuBar1 = new JMenuBar();
        menu1 = new JMenu();
        mnuUser = new JMenuItem();
        mnuExit = new JMenuItem();
        menu2 = new JMenu();
        mnuBrand = new JMenuItem();
        mnuType = new JMenuItem();
        mnuGoods = new JMenuItem();
        mnuSell = new JMenuItem();
        menu3 = new JMenu();
        mnuAbout = new JMenuItem();
        toolBar1 = new JToolBar();
        btnUser = new JButton();
        btnType = new JButton();
        btnBrand = new JButton();
        button4 = new JButton();

        //======== this ========
        setTitle("\u5546\u5e97\u7ba1\u7406\u7cfb\u7edf");
        var contentPane = getContentPane();
        contentPane.setLayout(new BorderLayout());

        //======== menuBar1 ========
        {

            //======== menu1 ========
            {
                menu1.setText("\u7cfb\u7edf");

                //---- mnuUser ----
                mnuUser.setText("\u7528\u6237\u7ba1\u7406");
                menu1.add(mnuUser);

                //---- mnuExit ----
                mnuExit.setText("\u9000\u51fa");
                menu1.add(mnuExit);
            }
            menuBar1.add(menu1);

            //======== menu2 ========
            {
                menu2.setText("\u7ba1\u7406");

                //---- mnuBrand ----
                mnuBrand.setText("\u54c1\u724c\u7ba1\u7406");
                menu2.add(mnuBrand);

                //---- mnuType ----
                mnuType.setText("\u7c7b\u522b\u7ba1\u7406");
                menu2.add(mnuType);

                //---- mnuGoods ----
                mnuGoods.setText("\u5546\u54c1\u7ba1\u7406");
                menu2.add(mnuGoods);

                //---- mnuSell ----
                mnuSell.setText("\u9500\u552e\u7ba1\u7406");
                menu2.add(mnuSell);
            }
            menuBar1.add(menu2);

            //======== menu3 ========
            {
                menu3.setText("\u5173\u4e8e");

                //---- mnuAbout ----
                mnuAbout.setText("\u6211\u7684\u9879\u76ee");
                menu3.add(mnuAbout);
            }
            menuBar1.add(menu3);
        }
        setJMenuBar(menuBar1);

        //======== toolBar1 ========
        {
            toolBar1.setFloatable(false);

            //---- btnUser ----
            btnUser.setIcon(new ImageIcon(getClass().getResource("/uaer.png")));
            btnUser.setToolTipText("\u7528\u6237\u7ba1\u7406");
            toolBar1.add(btnUser);

            //---- btnType ----
            btnType.setIcon(new ImageIcon(getClass().getResource("/uaer.png")));
            btnType.setToolTipText("\u7c7b\u522b\u7ba1\u7406");
            toolBar1.add(btnType);

            //---- btnBrand ----
            btnBrand.setIcon(new ImageIcon(getClass().getResource("/uaer.png")));
            btnBrand.setToolTipText("\u54c1\u724c\u7ba1\u7406");
            toolBar1.add(btnBrand);

            //---- button4 ----
            button4.setIcon(new ImageIcon(getClass().getResource("/uaer.png")));
            button4.setToolTipText("\u5546\u54c1\u7ba1\u7406");
            toolBar1.add(button4);
        }
        contentPane.add(toolBar1, BorderLayout.NORTH);
        pack();
        setLocationRelativeTo(getOwner());
        // JFormDesigner - End of component initialization  //GEN-END:initComponents  @formatter:on
    }

    // JFormDesigner - Variables declaration - DO NOT MODIFY  //GEN-BEGIN:variables  @formatter:off
    // Generated using JFormDesigner Evaluation license - caojintao
    private JMenuBar menuBar1;
    private JMenu menu1;
    private JMenuItem mnuUser;
    private JMenuItem mnuExit;
    private JMenu menu2;
    private JMenuItem mnuBrand;
    private JMenuItem mnuType;
    private JMenuItem mnuGoods;
    private JMenuItem mnuSell;
    private JMenu menu3;
    private JMenuItem mnuAbout;
    private JToolBar toolBar1;
    private JButton btnUser;
    private JButton btnType;
    private JButton btnBrand;
    private JButton button4;
    // JFormDesigner - End of variables declaration  //GEN-END:variables  @formatter:on
}
